package com.zjsru.fallback;


import com.zjsru.clients.UserClient;
import com.zjsru.pojo.Result;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

public class UserClientFallback implements UserClient {

    public Result queryUserById(Long userId) {
        return Result.error(500, "用户服务异常");
    }

    public boolean checkStatus(String username){
        return false;
    }
}
